package com.eascs.banknet.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "o2o_rphis")
public class RphisEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String actno; // 贷款账号

	private String termno; // 还款期号

	private String trnda; // 交易日期

	private String jrnlno; // 流水号

	private String valda; // 应还款日期

	private String repno; // 还款账号

	private BigDecimal rate; // 利率

	private BigDecimal prin; // 还本金额

	private BigDecimal intr; // 还息金额

	@Column(name = "prin_fine")
	private BigDecimal prinFine;// 本金罚息

	@Column(name = "intr_fine")
	private BigDecimal intrFine;// 利息罚息

	@Column(name = "prin_fine_fine")
	private BigDecimal prinFineFine;// 本金罚息的罚息
	
	@Column(name = "file_date")
	private String fileDate;
	
	@Column(name = "create_time")
	private Date createTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getActno() {
		return actno;
	}

	public void setActno(String actno) {
		this.actno = actno;
	}

	public String getTermno() {
		return termno;
	}

	public void setTermno(String termno) {
		this.termno = termno;
	}

	public String getTrnda() {
		return trnda;
	}

	public void setTrnda(String trnda) {
		this.trnda = trnda;
	}

	public String getJrnlno() {
		return jrnlno;
	}

	public void setJrnlno(String jrnlno) {
		this.jrnlno = jrnlno;
	}

	public String getValda() {
		return valda;
	}

	public void setValda(String valda) {
		this.valda = valda;
	}

	public String getRepno() {
		return repno;
	}

	public void setRepno(String repno) {
		this.repno = repno;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public BigDecimal getPrin() {
		return prin;
	}

	public void setPrin(BigDecimal prin) {
		this.prin = prin;
	}

	public BigDecimal getIntr() {
		return intr;
	}

	public void setIntr(BigDecimal intr) {
		this.intr = intr;
	}

	public BigDecimal getPrinFine() {
		return prinFine;
	}

	public void setPrinFine(BigDecimal prinFine) {
		this.prinFine = prinFine;
	}

	public BigDecimal getIntrFine() {
		return intrFine;
	}

	public void setIntrFine(BigDecimal intrFine) {
		this.intrFine = intrFine;
	}

	public BigDecimal getPrinFineFine() {
		return prinFineFine;
	}

	public void setPrinFineFine(BigDecimal prinFineFine) {
		this.prinFineFine = prinFineFine;
	}
	
	public String getFileDate() {
		return fileDate;
	}

	public void setFileDate(String fileDate) {
		this.fileDate = fileDate;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "RphisEntity [id=" + id + ", actno=" + actno + ", termno=" + termno + ", trnda=" + trnda + ", jrnlno=" + jrnlno + ", valda=" + valda + ", repno=" + repno + ", rate=" + rate + ", prin=" + prin + ", intr="
				+ intr + ", prinFine=" + prinFine + ", intrFine=" + intrFine + ", prinFineFine=" + prinFineFine + ", fileDate=" + fileDate + ", createTime=" + createTime + "]";
	}
}
